how to find the width of outerconatiner in react native

153

how to find the width of outerconatiner in react native -

<View onLayout={(event) => {
  var {x, y, width, height} = event.nativeEvent.layout;
}} />

Comments

Submit
0 Comments